﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class employee
    {
        public string no { get; set; }
        public string name { get; set; }
        public string sex { get; set; }
        public string xueli { get; set; }
        public string bmxx { get; set; }

        public employee(){ xueli = "专科"; }

        public employee(string no, string name, string sex, string xueli, string bmxx)
        {
            this.no = no;
            this.name = name;
            this.sex = sex;
            this.xueli = xueli;
            this.bmxx = bmxx;
        }

        public void employee1()
        {
            Console.WriteLine("工号{0}、姓名{1}、性别{2}、学历{3}和部门信息{4}",this.no,this.name,this.sex,this.xueli,this.bmxx);
        }
    }
}
